Optimal. Leaf size=90 \[ -\frac {d \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{4 c^2}+\frac {b d x \left (1-c^2 x^2\right )^{3/2}}{16 c}+\frac {3 b d x \sqrt {1-c^2 x^2}}{32 c}+\frac {3 b d \sin ^{-1}(c x)}{32 c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {4677, 195, 216} \[ -\frac {d \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{4 c^2}+\frac {b d x \left (1-c^2 x^2\right )^{3/2}}{16 c}+\frac {3 b d x \sqrt {1-c^2 x^2}}{32 c}+\frac {3 b d \sin ^{-1}(c x)}{32 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 216
Rule 4677
Rubi steps
\begin {align*} \int x \left (d-c^2 d x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx &=-\frac {d \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{4 c^2}+\frac {(b d) \int \left (1-c^2 x^2\right )^{3/2} \, dx}{4 c}\\ &=\frac {b d x \left (1-c^2 x^2\right )^{3/2}}{16 c}-\frac {d \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{4 c^2}+\frac {(3 b d) \int \sqrt {1-c^2 x^2} \, dx}{16 c}\\ &=\frac {3 b d x \sqrt {1-c^2 x^2}}{32 c}+\frac {b d x \left (1-c^2 x^2\right )^{3/2}}{16 c}-\frac {d \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{4 c^2}+\frac {(3 b d) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{32 c}\\ &=\frac {3 b d x \sqrt {1-c^2 x^2}}{32 c}+\frac {b d x \left (1-c^2 x^2\right )^{3/2}}{16 c}+\frac {3 b d \sin ^{-1}(c x)}{32 c^2}-\frac {d \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{4 c^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 77, normalized size = 0.86 \[ -\frac {d \left (c x \left (8 a c x \left (c^2 x^2-2\right )+b \sqrt {1-c^2 x^2} \left (2 c^2 x^2-5\right )\right )+b \left (8 c^4 x^4-16 c^2 x^2+5\right ) \sin ^{-1}(c x)\right )}{32 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.50, size = 86, normalized size = 0.96 \[ -\frac {8 \, a c^{4} d x^{4} - 16 \, a c^{2} d x^{2} + {\left (8 \, b c^{4} d x^{4} - 16 \, b c^{2} d x^{2} + 5 \, b d\right )} \arcsin \left (c x\right ) + {\left (2 \, b c^{3} d x^{3} - 5 \, b c d x\right )} \sqrt {-c^{2} x^{2} + 1}}{32 \, c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.48, size = 100, normalized size = 1.11 \[ -\frac {1}{4} \, a c^{2} d x^{4} + \frac {{\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b d x}{16 \, c} - \frac {{\left (c^{2} x^{2} - 1\right )}^{2} b d \arcsin \left (c x\right )}{4 \, c^{2}} + \frac {3 \, \sqrt {-c^{2} x^{2} + 1} b d x}{32 \, c} + \frac {{\left (c^{2} x^{2} - 1\right )} a d}{2 \, c^{2}} + \frac {3 \, b d \arcsin \left (c x\right )}{32 \, c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 98, normalized size = 1.09 \[ \frac {-d a \left (\frac {1}{4} c^{4} x^{4}-\frac {1}{2} c^{2} x^{2}\right )-d b \left (\frac {c^{4} x^{4} \arcsin \left (c x \right )}{4}-\frac {c^{2} x^{2} \arcsin \left (c x \right )}{2}+\frac {c^{3} x^{3} \sqrt {-c^{2} x^{2}+1}}{16}-\frac {5 c x \sqrt {-c^{2} x^{2}+1}}{32}+\frac {5 \arcsin \left (c x \right )}{32}\right )}{c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.60, size = 128, normalized size = 1.42 \[ -\frac {1}{4} \, a c^{2} d x^{4} - \frac {1}{32} \, {\left (8 \, x^{4} \arcsin \left (c x\right ) + {\left (\frac {2 \, \sqrt {-c^{2} x^{2} + 1} x^{3}}{c^{2}} + \frac {3 \, \sqrt {-c^{2} x^{2} + 1} x}{c^{4}} - \frac {3 \, \arcsin \left (c x\right )}{c^{5}}\right )} c\right )} b c^{2} d + \frac {1}{2} \, a d x^{2} + \frac {1}{4} \, {\left (2 \, x^{2} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x}{c^{2}} - \frac {\arcsin \left (c x\right )}{c^{3}}\right )}\right )} b d \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,\left (d-c^2\,d\,x^2\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.06, size = 117, normalized size = 1.30 \[ \begin {cases} - \frac {a c^{2} d x^{4}}{4} + \frac {a d x^{2}}{2} - \frac {b c^{2} d x^{4} \operatorname {asin}{\left (c x \right )}}{4} - \frac {b c d x^{3} \sqrt {- c^{2} x^{2} + 1}}{16} + \frac {b d x^{2} \operatorname {asin}{\left (c x \right )}}{2} + \frac {5 b d x \sqrt {- c^{2} x^{2} + 1}}{32 c} - \frac {5 b d \operatorname {asin}{\left (c x \right )}}{32 c^{2}} & \text {for}\: c \neq 0 \\\frac {a d x^{2}}{2} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________